EarthWeb   
HomeAccount InfoSubscribeLoginSearchMy ITknowlegeFAQSitemapContact Us
     

ITKnowledge Insider
      
 Read the current newsletter!     
   

  Search Tips
  Advanced Search
   
  

  

Micro House PC Hardware Library Volume II: Network Interface Cards And Modems Micro House PC Hardware Library Volume II: Network Interface Cards And Modems
by Micro House International, Inc. and Scott Mueller
Que, Macmillan Computer Publishing
ISBN: 078971664x   Pub Date: 06/17/98
    Bookmark It

Search this book:
 
Previous Table of Contents Next


8-Bit ISA Bus Interrupts

The PC and XT (the systems based on the 8-bit 8086 CPU) provide for eight different external hardware interrupts. Table 1.8 shows the typical uses for these interrupts, which are numbered 0 through 7.

Table 1.8 8-Bit ISA Bus Default Interrupt Assignments.

IRQ Function Bus Slot

0 System Timer No
1 Keyboard Controller No
2 Available Yes (8-bit)
3 Serial Port 2 (COM2:) Yes (8-bit)
4 Serial Port 1 (COM1:) Yes (8-bit)
5 Hard Disk Controller Yes (8-bit)
6 Floppy Disk Controller Yes (8-bit)
7 Parallel Port 1 (LPT1:) Yes (8-bit)

If you have a system that has one of the original 8-bit ISA buses, you will find that the IRQ resources provided by the system present a severe limitation. Installing several devices that need th!e services of system IRQs in a PC/XT-type system can be a study in frustration, because the only way to resolve the interrupt-shortage problem is to remove the adapter board that you need the least.

16-Bit ISA, EISA, and MCA Bus Interrupts

The introduction of the AT, based on the 286 processor, was accompanied by an increase in the number of external hardware interrupts that the bus would support. The number of interrupts was doubled to 16 by using two Intel 8259 interrupt controllers, piping the interrupts generated by the second one through the unused IRQ 2 in the first controller. This arrangement effectively means that only 15 IRQ assignments are available, and IRQ 2 effectively became inaccessible.

By routing all of the interrupts from the second IRQ controller through IRQ 2 on the first, all of these new interrupts are assigned a nested priority level between IRQ 1 and IRQ 3. Thus, IRQ 15 ends up having a higher priority than IRQ 3.

To prevent problems with boards set to use IRQ 2, the AT system designers routed one of the new interrupts (IRQ 9) to fill the slot position left open after removing IRQ 2. This means that any card you install in a modern system that claims to use IRQ 2 is really using IRQ 9 instead. Some cards now label this selection as IRQ 2/9, while others may only call it IRQ 2 or IRQ 9. No matter what the labeling says, you must never set two cards to use that interrupt!

Table 1.9 shows the typical uses for interrupts in the 16-bit ISA, EISA, and MCA buses, and lists them in priority order from highest to lowest.

Table 1.9 16-Bit ISA, EISA, and MCA Default Interrupt Assignments.

IRQ Standard Function Bus Slot Card Type

0 System Timer No -
1 Keyboard Controller No -
2 2nd IRQ Controller Cascade No -
8 Real-Time Clock No -
9 Network/Available (Appears as IRQ 2) Yes 8/16-bit
10 Available Yes 16-bit
11 SCSI/Available Yes 16-bit
12 Motherboard Mouse Port/Available Yes 16-bit
13 Math Coprocessor No -
14 Primary IDE Yes 16-bit
15 Secondary IDE/Available Yes 16-bit
3 Serial Port 2 (COM2:) Yes 8/16-bit
4 Serial Port 1 (COM1:) Yes 8/16-bit
5 Sound/Parallel Port 2 (LPT2:) Yes 8/16-bit
6 Floppy Disk Controller Yes 8/16-bit
7 Parallel Port 1 (LPT1:) Yes 8/16-bit

Because IRQ 2 now is used directly by the motherboard, the wire for IRQ 9 has been re-routed to the same position in the slot that IRQ 2 normally would occupy. Therefore, any board you install that is set to IRQ 2 actually is using IRQ 9. The interrupt vector table has been adjusted accordingly to enable this deception to work. This adjustment to the system provides greater compatibility with the PC interrupt structure and enables cards that are set to IRQ 2 to work properly.

Notice that interrupts 0, 1, 2, 8, and 13 are not on the bus connectors and are not accessible to adapter cards. Interrupts 8, 10, 11, 12, 13, 14, and 15 are from the second interrupt controller and are accessible only by boards that use the 16-bit extension connector, because this is where these wires are located. IRQ 9 is rewired to the 8-bit slot connector in place of IRQ 2, which means that IRQ 9 replaces IRQ 2 and therefore is available to 8-bit cards, which treat it as though it were IRQ 2.


Note:  
Although the 16-bit ISA bus has twice as many interrupts as systems that have the 8-bit ISA bus, you still may run out of available interrupts, because only 16-bit adapters can use most of the newly available interrupts.

The extra IRQ lines in a 16-bit ISA system are of little help unless the adapter boards that you plan to use enable you to configure them for one of the unused IRQs. Some devices are hard-wired so that they can use only a particular IRQ. If you have a device that already uses that IRQ, you must resolve the conflict before installing the second adapter. If neither adapter enables you to reconfigure its IRQ use, chances are that you cannot use the two devices in the same system.


Previous Table of Contents Next

HomeAccount InfoSubscribeLoginSearchMy ITKnowledgeFAQSitemapContact Us
Products |  Contact Us |  About Us |  Privacy  |  Ad Info  |  Home

Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement.